package com.yh.correct.service;

import java.util.List;
import java.util.Map;

import com.yh.correct.model.Page;
import com.yh.correct.model.Thought;

/**
 * 思想教育接口服务
 * 
 * @author 陈帅
 *
 */
public interface IThoughtService {
	/**
	 * 查询单个“思想教育登记”明细
	 * 
	 * @param Thought
	 * @return 
	 */
   public Map<String,Object>  getThought(Thought t) throws Exception;
	/**
	 * 增加思想教育登记
	 * 
	 * @param Thought
	 */
	public int addThought(Thought t) throws Exception;
	
	/**
	 * 删除思想教育登记
	 *
	 * @param Thought
	 */
	public int delThought(Thought t) throws Exception;
	/**
	 * 修改思想教育登记
	 * 
	 * @param Thought
	 */
	public int editThought(Thought t) throws Exception;
	
	/**
	 * 模糊查询匹配的“思想教育登记”列表
	 * 
	 * @param Thought
	 * @return
	 */
	public  Page getLikeThoughts(Map<String,Object> condition) throws Exception; 
	/**
	 * 获取所有记录,导出excel
	 * @return
	 */
	public List<Map<String,Object>> getAllT() throws Exception;	

	
}
